package Java.BlackHorse.File;

import java.io.File;
import java.util.Arrays;

public class FileDemo5 {
    public static void main(String[] args) {
        File f = new File("File");
        File[] listf = f.listFiles();
        for(File file : listf){
            System.out.println(file.getName());
        }
    }
}
